
for f in $@
do
  src=$(md5sum $f | awk '{print $1}')
  dst=$(ssh www@jz "md5sum /data/www/www/$f" | awk '{print $1}')
  if [ $src = $dst ]
  then
    echo "$f synced"
  else
    tput setaf 1
    echo "$f not synced"
    tput sgr0
  fi
done
